package com.yhos.platform.oopston.core.convert;

import org.modelmapper.AbstractConverter;

import java.math.BigDecimal;

public class BigDecimal2StringConverter extends AbstractConverter<BigDecimal, String> {

    @Override
    protected String convert(BigDecimal source) {
        return source == null ? "" : source.toString();
    }

}
